package com.hanliy.controller;

import com.hanliy.dto.PeopleDTO;
import io.swagger.annotations.Api;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author hanyulin
 * @apiNote 测试嵌套查询
 * @date 2021/12/21 9:26
 */
@RestController
@RequestMapping(("/people"))
@Api(tags = "嵌套查询相关")
public class PeopleController {

    @PostMapping("/add")
    public void addItem(@Validated PeopleDTO item) {

    }
}
